--- gcc-3.4.6.org/gcc/mklibgcc.in
+++ gcc-3.4.6/gcc/mklibgcc.in
@@ -442,7 +442,7 @@
 
   libgcc_a_objs="$libgcc_objs $libgcc_st_objs"
 
-  if [ "@libgcc_visibility@" = yes -a "$SHLIB_LINK" ]; then
+  if [ "@libgcc_visibility@" = yes ]; then
     libgcc_a_objs=
     echo ""
     echo "libgcc/${dir}/stacknote.s: stmp-dirs"
